package com.xianyu.us.pojo.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 封装订单信息
 * @author wangshili
 *
 */
public class UsOrder implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = -359461237725192558L;
	/*主键id*/
	private Integer id;
	/*买家id*/
	private Integer buyerId;
	/*卖家id*/
	private Integer sellerId;
	/*商品编号*/
	private String orderNo;
	/*商品数量*/
	private Integer number;
	/*商品描述*/
	private String content;
	/*商品单价*/
	private BigDecimal price;
	/*商品图片地址*/
	private String imgUrl;
	/*发货地址*/
	private String sendAddr;
	/*收货地址*/
	private String recAddr;
	/*创建时间*/
	private Date createdTime;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getBuyerId() {
		return buyerId;
	}
	public void setBuyerId(Integer buyerId) {
		this.buyerId = buyerId;
	}
	public Integer getSellerId() {
		return sellerId;
	}
	public void setSellerId(Integer sellerId) {
		this.sellerId = sellerId;
	}
	public String getOrderNo() {
		return orderNo;
	}
	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}
	public Integer getNumber() {
		return number;
	}
	public void setNumber(Integer number) {
		this.number = number;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public BigDecimal getPrice() {
		return price;
	}
	public void setPrice(BigDecimal price) {
		this.price = price;
	}
	public String getImgUrl() {
		return imgUrl;
	}
	public void setImgUrl(String imgUrl) {
		this.imgUrl = imgUrl;
	}
	public String getSendAddr() {
		return sendAddr;
	}
	public void setSendAddr(String sendAddr) {
		this.sendAddr = sendAddr;
	}
	public String getRecAddr() {
		return recAddr;
	}
	public void setRecAddr(String recAddr) {
		this.recAddr = recAddr;
	}
	public Date getCreatedTime() {
		return createdTime;
	}
	public void setCreatedTime(Date createdTime) {
		this.createdTime = createdTime;
	}
	@Override
	public String toString() {
		return "UsOrder [id=" + id + ", buyerId=" + buyerId + ", sellerId=" + sellerId + ", orderNo=" + orderNo
				+ ", number=" + number + ", content=" + content + ", price=" + price + ", imgUrl=" + imgUrl
				+ ", sendAddr=" + sendAddr + ", recAddr=" + recAddr + ", createdTime=" + createdTime + "]";
	}
	
	
}
